package com.sam.entity;

/**
 * Created by Administrator on 2016/5/31.
 */
public class CouponEntity {

    private int couponValue;
    private String conponName;
    private int atLeastValue;
    private long validStartTime,validEndTime;

    public CouponEntity(int couponValue, String conponName, int atLeastValue, long validStartTime, long validEndTime) {
        this.couponValue = couponValue;
        this.conponName = conponName;
        this.atLeastValue = atLeastValue;
        this.validStartTime = validStartTime;
        this.validEndTime = validEndTime;
    }

    public int getCouponValue() {
        return couponValue;
    }

    public void setCouponValue(int couponValue) {
        this.couponValue = couponValue;
    }

    public String getConponName() {
        return conponName;
    }

    public void setConponName(String conponName) {
        this.conponName = conponName;
    }

    public int getAtLeastValue() {
        return atLeastValue;
    }

    public void setAtLeastValue(int atLeastValue) {
        this.atLeastValue = atLeastValue;
    }

    public long getValidStartTime() {
        return validStartTime;
    }

    public void setValidStartTime(long validStartTime) {
        this.validStartTime = validStartTime;
    }

    public long getValidEndTime() {
        return validEndTime;
    }

    public void setValidEndTime(long validEndTime) {
        this.validEndTime = validEndTime;
    }

    @Override
    public String toString() {
        return "CouponEntity{" +
                "couponValue=" + couponValue +
                ", conponName='" + conponName + '\'' +
                ", atLeastValue=" + atLeastValue +
                ", validStartTime=" + validStartTime +
                ", validEndTime=" + validEndTime +
                '}';
    }
}
